package com.jmz.apt.api.service.user;

import com.jmz.apt.api.dao.AdminRoleDao;
import com.jmz.apt.api.entity.dbEntity.JmzAdminRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by fanglexue on 2019/11/6.
 */
@Component
public class AdminRole {

    @Autowired
    AdminRoleDao adminRoleDao;

    public JmzAdminRole findRoleOne(Integer roleId){
        return adminRoleDao.findRoleOne(roleId);

    }
}
